﻿<?xml version="1.0" encoding="utf-8"?>
<xs:schema id="CDmShpScoreCard" targetNamespace="http://tempuri.org/CDmShpScoreCard.xsd" xmlns:mstns="http://tempuri.org/CDmShpScoreCard.xsd" xmlns="http://tempuri.org/CDmShpScoreCard.xsd" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata" xmlns:msprop="urn:schemas-microsoft-com:xml-msprop" attributeFormDefault="qualified" elementFormDefault="qualified">
  <xs:annotation>
    <xs:appinfo source="urn:schemas-microsoft-com:xml-msdatasource">
      <DataSource DefaultConnectionIndex="0" FunctionsComponentName="QueriesTableAdapter" Modifier="AutoLayout, AnsiClass, Class, Public" SchemaSerializationMode="IncludeSchema" xmlns="urn:schemas-microsoft-com:xml-msdatasource">
        <Connections>
          <Connection AppSettingsObjectName="Settings" AppSettingsPropertyName="kokoConnectionString" ConnectionStringObject="" IsAppSettingsProperty="true" Modifier="Assembly" Name="kokoConnectionString (Settings)" ParameterPrefix="@" PropertyReference="ApplicationSettings.msBsc.Xsd.DataTds.Properties.Settings.GlobalReference.Default.kokoConnectionString" Provider="System.Data.SqlClient" />
        </Connections>
        <Tables>
          <TableAdapter BaseClass="System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="SHP_SCORE_CARDTableAdapter" GeneratorDataComponentClassName="SHP_SCORE_CARDTableAdapter" Name="SHP_SCORE_CARD" UserDataComponentName="SHP_SCORE_CARDTableAdapter">
            <MainSource>
              <DbSource ConnectionRef="kokoConnectionString (Settings)" DbObjectName="koko.dbo.SHP_SCORE_CARD" DbObjectType="Table" FillMethodModifier="Public" FillMethodName="Fill" GenerateMethods="Both" GenerateShortCommands="true" GeneratorGetMethodName="GetData" GeneratorSourceName="Fill" GetMethodModifier="Public" GetMethodName="GetData" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetData" UserSourceName="Fill">
                <DeleteCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>DELETE FROM [dbo].[SHP_SCORE_CARD] WHERE (([SCORE_CARD_ID] = @Original_SCORE_CARD_ID) AND ((@IsNull_SCORE_CARD_NO = 1 AND [SCORE_CARD_NO] IS NULL) OR ([SCORE_CARD_NO] = @Original_SCORE_CARD_NO)) AND ((@IsNull_SCORE_QTY = 1 AND [SCORE_QTY] IS NULL) OR ([SCORE_QTY] = @Original_SCORE_QTY)) AND ((@IsNull_CREATE_ACCOUNT_NO = 1 AND [CREATE_ACCOUNT_NO] IS NULL) OR ([CREATE_ACCOUNT_NO] = @Original_CREATE_ACCOUNT_NO)) AND ((@IsNull_CREATE_ACCOUNT_NME = 1 AND [CREATE_ACCOUNT_NME] IS NULL) OR ([CREATE_ACCOUNT_NME] = @Original_CREATE_ACCOUNT_NME)) AND ((@IsNull_USE_ACCOUNT_NO = 1 AND [USE_ACCOUNT_NO] IS NULL) OR ([USE_ACCOUNT_NO] = @Original_USE_ACCOUNT_NO)) AND ((@IsNull_USE_ACCOUNT_NME = 1 AND [USE_ACCOUNT_NME] IS NULL) OR ([USE_ACCOUNT_NME] = @Original_USE_ACCOUNT_NME)) AND ((@IsNull_USE_DT = 1 AND [USE_DT] IS NULL) OR ([USE_DT] = @Original_USE_DT)) AND ((@IsNull_CREATE_REMARKS = 1 AND [CREATE_REMARKS] IS NULL) OR ([CREATE_REMARKS] = @Original_CREATE_REMARKS)) AND ((@IsNull_INITIAL_DT = 1 AND [INITIAL_DT] IS NULL) OR ([INITIAL_DT] = @Original_INITIAL_DT)) AND ((@IsNull_INITIAL_USR = 1 AND [INITIAL_USR] IS NULL) OR ([INITIAL_USR] = @Original_INITIAL_USR)))</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_SCORE_CARD_ID" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="SCORE_CARD_ID" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_SCORE_CARD_NO" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="SCORE_CARD_NO" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_SCORE_CARD_NO" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="SCORE_CARD_NO" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_SCORE_QTY" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="SCORE_QTY" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_SCORE_QTY" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="SCORE_QTY" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_CREATE_ACCOUNT_NO" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="CREATE_ACCOUNT_NO" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_CREATE_ACCOUNT_NO" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="CREATE_ACCOUNT_NO" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_CREATE_ACCOUNT_NME" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="CREATE_ACCOUNT_NME" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_CREATE_ACCOUNT_NME" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="CREATE_ACCOUNT_NME" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_USE_ACCOUNT_NO" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="USE_ACCOUNT_NO" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_USE_ACCOUNT_NO" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="USE_ACCOUNT_NO" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_USE_ACCOUNT_NME" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="USE_ACCOUNT_NME" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_USE_ACCOUNT_NME" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="USE_ACCOUNT_NME" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_USE_DT" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="USE_DT" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@Original_USE_DT" Precision="0" ProviderType="DateTime" Scale="0" Size="0" SourceColumn="USE_DT" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_CREATE_REMARKS" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="CREATE_REMARKS" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_CREATE_REMARKS" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="CREATE_REMARKS" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_INITIAL_DT" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="INITIAL_DT" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@Original_INITIAL_DT" Precision="0" ProviderType="DateTime" Scale="0" Size="0" SourceColumn="INITIAL_DT" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_INITIAL_USR" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="INITIAL_USR" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_INITIAL_USR" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="INITIAL_USR" SourceColumnNullMapping="false" SourceVersion="Original" />
                    </Parameters>
                  </DbCommand>
                </DeleteCommand>
                <InsertCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>INSERT INTO [dbo].[SHP_SCORE_CARD] ([SCORE_CARD_ID], [SCORE_CARD_NO], [SCORE_QTY], [CREATE_ACCOUNT_NO], [CREATE_ACCOUNT_NME], [USE_ACCOUNT_NO], [USE_ACCOUNT_NME], [USE_DT], [CREATE_REMARKS], [INITIAL_DT], [INITIAL_USR]) VALUES (@SCORE_CARD_ID, @SCORE_CARD_NO, @SCORE_QTY, @CREATE_ACCOUNT_NO, @CREATE_ACCOUNT_NME, @USE_ACCOUNT_NO, @USE_ACCOUNT_NME, @USE_DT, @CREATE_REMARKS, @INITIAL_DT, @INITIAL_USR);
SELECT SCORE_CARD_ID, SCORE_CARD_NO, SCORE_QTY, CREATE_ACCOUNT_NO, CREATE_ACCOUNT_NME, USE_ACCOUNT_NO, USE_ACCOUNT_NME, USE_DT, CREATE_REMARKS, INITIAL_DT, INITIAL_USR FROM SHP_SCORE_CARD WHERE (SCORE_CARD_ID = @SCORE_CARD_ID)</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@SCORE_CARD_ID" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="SCORE_CARD_ID" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@SCORE_CARD_NO" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="SCORE_CARD_NO" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@SCORE_QTY" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="SCORE_QTY" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@CREATE_ACCOUNT_NO" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="CREATE_ACCOUNT_NO" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@CREATE_ACCOUNT_NME" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="CREATE_ACCOUNT_NME" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@USE_ACCOUNT_NO" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="USE_ACCOUNT_NO" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@USE_ACCOUNT_NME" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="USE_ACCOUNT_NME" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@USE_DT" Precision="0" ProviderType="DateTime" Scale="0" Size="0" SourceColumn="USE_DT" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@CREATE_REMARKS" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="CREATE_REMARKS" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@INITIAL_DT" Precision="0" ProviderType="DateTime" Scale="0" Size="0" SourceColumn="INITIAL_DT" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@INITIAL_USR" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="INITIAL_USR" SourceColumnNullMapping="false" SourceVersion="Current" />
                    </Parameters>
                  </DbCommand>
                </InsertCommand>
                <SelectCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>SELECT SCORE_CARD_ID, SCORE_CARD_NO, SCORE_QTY, CREATE_ACCOUNT_NO, CREATE_ACCOUNT_NME, USE_ACCOUNT_NO, USE_ACCOUNT_NME, USE_DT, CREATE_REMARKS, INITIAL_DT, INITIAL_USR FROM dbo.SHP_SCORE_CARD</CommandText>
                    <Parameters />
                  </DbCommand>
                </SelectCommand>
                <UpdateCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>UPDATE [dbo].[SHP_SCORE_CARD] SET [SCORE_CARD_ID] = @SCORE_CARD_ID, [SCORE_CARD_NO] = @SCORE_CARD_NO, [SCORE_QTY] = @SCORE_QTY, [CREATE_ACCOUNT_NO] = @CREATE_ACCOUNT_NO, [CREATE_ACCOUNT_NME] = @CREATE_ACCOUNT_NME, [USE_ACCOUNT_NO] = @USE_ACCOUNT_NO, [USE_ACCOUNT_NME] = @USE_ACCOUNT_NME, [USE_DT] = @USE_DT, [CREATE_REMARKS] = @CREATE_REMARKS, [INITIAL_DT] = @INITIAL_DT, [INITIAL_USR] = @INITIAL_USR WHERE (([SCORE_CARD_ID] = @Original_SCORE_CARD_ID) AND ((@IsNull_SCORE_CARD_NO = 1 AND [SCORE_CARD_NO] IS NULL) OR ([SCORE_CARD_NO] = @Original_SCORE_CARD_NO)) AND ((@IsNull_SCORE_QTY = 1 AND [SCORE_QTY] IS NULL) OR ([SCORE_QTY] = @Original_SCORE_QTY)) AND ((@IsNull_CREATE_ACCOUNT_NO = 1 AND [CREATE_ACCOUNT_NO] IS NULL) OR ([CREATE_ACCOUNT_NO] = @Original_CREATE_ACCOUNT_NO)) AND ((@IsNull_CREATE_ACCOUNT_NME = 1 AND [CREATE_ACCOUNT_NME] IS NULL) OR ([CREATE_ACCOUNT_NME] = @Original_CREATE_ACCOUNT_NME)) AND ((@IsNull_USE_ACCOUNT_NO = 1 AND [USE_ACCOUNT_NO] IS NULL) OR ([USE_ACCOUNT_NO] = @Original_USE_ACCOUNT_NO)) AND ((@IsNull_USE_ACCOUNT_NME = 1 AND [USE_ACCOUNT_NME] IS NULL) OR ([USE_ACCOUNT_NME] = @Original_USE_ACCOUNT_NME)) AND ((@IsNull_USE_DT = 1 AND [USE_DT] IS NULL) OR ([USE_DT] = @Original_USE_DT)) AND ((@IsNull_CREATE_REMARKS = 1 AND [CREATE_REMARKS] IS NULL) OR ([CREATE_REMARKS] = @Original_CREATE_REMARKS)) AND ((@IsNull_INITIAL_DT = 1 AND [INITIAL_DT] IS NULL) OR ([INITIAL_DT] = @Original_INITIAL_DT)) AND ((@IsNull_INITIAL_USR = 1 AND [INITIAL_USR] IS NULL) OR ([INITIAL_USR] = @Original_INITIAL_USR)));
SELECT SCORE_CARD_ID, SCORE_CARD_NO, SCORE_QTY, CREATE_ACCOUNT_NO, CREATE_ACCOUNT_NME, USE_ACCOUNT_NO, USE_ACCOUNT_NME, USE_DT, CREATE_REMARKS, INITIAL_DT, INITIAL_USR FROM SHP_SCORE_CARD WHERE (SCORE_CARD_ID = @SCORE_CARD_ID)</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@SCORE_CARD_ID" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="SCORE_CARD_ID" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@SCORE_CARD_NO" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="SCORE_CARD_NO" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@SCORE_QTY" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="SCORE_QTY" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@CREATE_ACCOUNT_NO" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="CREATE_ACCOUNT_NO" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@CREATE_ACCOUNT_NME" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="CREATE_ACCOUNT_NME" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@USE_ACCOUNT_NO" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="USE_ACCOUNT_NO" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@USE_ACCOUNT_NME" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="USE_ACCOUNT_NME" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@USE_DT" Precision="0" ProviderType="DateTime" Scale="0" Size="0" SourceColumn="USE_DT" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@CREATE_REMARKS" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="CREATE_REMARKS" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@INITIAL_DT" Precision="0" ProviderType="DateTime" Scale="0" Size="0" SourceColumn="INITIAL_DT" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@INITIAL_USR" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="INITIAL_USR" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_SCORE_CARD_ID" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="SCORE_CARD_ID" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_SCORE_CARD_NO" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="SCORE_CARD_NO" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_SCORE_CARD_NO" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="SCORE_CARD_NO" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_SCORE_QTY" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="SCORE_QTY" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_SCORE_QTY" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="SCORE_QTY" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_CREATE_ACCOUNT_NO" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="CREATE_ACCOUNT_NO" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_CREATE_ACCOUNT_NO" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="CREATE_ACCOUNT_NO" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_CREATE_ACCOUNT_NME" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="CREATE_ACCOUNT_NME" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_CREATE_ACCOUNT_NME" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="CREATE_ACCOUNT_NME" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_USE_ACCOUNT_NO" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="USE_ACCOUNT_NO" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_USE_ACCOUNT_NO" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="USE_ACCOUNT_NO" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_USE_ACCOUNT_NME" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="USE_ACCOUNT_NME" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_USE_ACCOUNT_NME" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="USE_ACCOUNT_NME" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_USE_DT" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="USE_DT" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@Original_USE_DT" Precision="0" ProviderType="DateTime" Scale="0" Size="0" SourceColumn="USE_DT" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_CREATE_REMARKS" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="CREATE_REMARKS" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_CREATE_REMARKS" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="CREATE_REMARKS" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_INITIAL_DT" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="INITIAL_DT" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@Original_INITIAL_DT" Precision="0" ProviderType="DateTime" Scale="0" Size="0" SourceColumn="INITIAL_DT" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_INITIAL_USR" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="INITIAL_USR" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_INITIAL_USR" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="INITIAL_USR" SourceColumnNullMapping="false" SourceVersion="Original" />
                    </Parameters>
                  </DbCommand>
                </UpdateCommand>
              </DbSource>
            </MainSource>
            <Mappings>
              <Mapping SourceColumn="SCORE_CARD_ID" DataSetColumn="SCORE_CARD_ID" />
              <Mapping SourceColumn="SCORE_CARD_NO" DataSetColumn="SCORE_CARD_NO" />
              <Mapping SourceColumn="SCORE_QTY" DataSetColumn="SCORE_QTY" />
              <Mapping SourceColumn="CREATE_ACCOUNT_NO" DataSetColumn="CREATE_ACCOUNT_NO" />
              <Mapping SourceColumn="CREATE_ACCOUNT_NME" DataSetColumn="CREATE_ACCOUNT_NME" />
              <Mapping SourceColumn="USE_ACCOUNT_NO" DataSetColumn="USE_ACCOUNT_NO" />
              <Mapping SourceColumn="USE_ACCOUNT_NME" DataSetColumn="USE_ACCOUNT_NME" />
              <Mapping SourceColumn="USE_DT" DataSetColumn="USE_DT" />
              <Mapping SourceColumn="CREATE_REMARKS" DataSetColumn="CREATE_REMARKS" />
              <Mapping SourceColumn="INITIAL_DT" DataSetColumn="INITIAL_DT" />
              <Mapping SourceColumn="INITIAL_USR" DataSetColumn="INITIAL_USR" />
            </Mappings>
            <Sources />
          </TableAdapter>
        </Tables>
        <Sources />
      </DataSource>
    </xs:appinfo>
  </xs:annotation>
  <xs:element name="CDmShpScoreCard" msdata:IsDataSet="true" msdata:UseCurrentLocale="true" msprop:EnableTableAdapterManager="true" msprop:Generator_DataSetName="CDmShpScoreCard" msprop:Generator_UserDSName="CDmShpScoreCard">
    <xs:complexType>
      <xs:choice minOccurs="0" maxOccurs="unbounded">
        <xs:element name="SHP_SCORE_CARD" msprop:Generator_TableClassName="SHP_SCORE_CARDDataTable" msprop:Generator_TableVarName="tableSHP_SCORE_CARD" msprop:Generator_TablePropName="SHP_SCORE_CARD" msprop:Generator_RowDeletingName="SHP_SCORE_CARDRowDeleting" msprop:Generator_RowChangingName="SHP_SCORE_CARDRowChanging" msprop:Generator_RowEvHandlerName="SHP_SCORE_CARDRowChangeEventHandler" msprop:Generator_RowDeletedName="SHP_SCORE_CARDRowDeleted" msprop:Generator_UserTableName="SHP_SCORE_CARD" msprop:Generator_RowChangedName="SHP_SCORE_CARDRowChanged" msprop:Generator_RowEvArgName="SHP_SCORE_CARDRowChangeEvent" msprop:Generator_RowClassName="SHP_SCORE_CARDRow">
          <xs:complexType>
            <xs:sequence>
              <xs:element name="SCORE_CARD_ID" msprop:Generator_ColumnVarNameInTable="columnSCORE_CARD_ID" msprop:Generator_ColumnPropNameInRow="SCORE_CARD_ID" msprop:Generator_ColumnPropNameInTable="SCORE_CARD_IDColumn" msprop:Generator_UserColumnName="SCORE_CARD_ID">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="36" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="SCORE_CARD_NO" msprop:Generator_ColumnVarNameInTable="columnSCORE_CARD_NO" msprop:Generator_ColumnPropNameInRow="SCORE_CARD_NO" msprop:Generator_ColumnPropNameInTable="SCORE_CARD_NOColumn" msprop:Generator_UserColumnName="SCORE_CARD_NO" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="30" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="SCORE_QTY" msprop:Generator_ColumnVarNameInTable="columnSCORE_QTY" msprop:Generator_ColumnPropNameInRow="SCORE_QTY" msprop:Generator_ColumnPropNameInTable="SCORE_QTYColumn" msprop:Generator_UserColumnName="SCORE_QTY" type="xs:int" minOccurs="0" />
              <xs:element name="CREATE_ACCOUNT_NO" msprop:Generator_ColumnVarNameInTable="columnCREATE_ACCOUNT_NO" msprop:Generator_ColumnPropNameInRow="CREATE_ACCOUNT_NO" msprop:Generator_ColumnPropNameInTable="CREATE_ACCOUNT_NOColumn" msprop:Generator_UserColumnName="CREATE_ACCOUNT_NO" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="20" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="CREATE_ACCOUNT_NME" msprop:Generator_ColumnVarNameInTable="columnCREATE_ACCOUNT_NME" msprop:Generator_ColumnPropNameInRow="CREATE_ACCOUNT_NME" msprop:Generator_ColumnPropNameInTable="CREATE_ACCOUNT_NMEColumn" msprop:Generator_UserColumnName="CREATE_ACCOUNT_NME" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="30" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="USE_ACCOUNT_NO" msprop:Generator_ColumnVarNameInTable="columnUSE_ACCOUNT_NO" msprop:Generator_ColumnPropNameInRow="USE_ACCOUNT_NO" msprop:Generator_ColumnPropNameInTable="USE_ACCOUNT_NOColumn" msprop:Generator_UserColumnName="USE_ACCOUNT_NO" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="20" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="USE_ACCOUNT_NME" msprop:Generator_ColumnVarNameInTable="columnUSE_ACCOUNT_NME" msprop:Generator_ColumnPropNameInRow="USE_ACCOUNT_NME" msprop:Generator_ColumnPropNameInTable="USE_ACCOUNT_NMEColumn" msprop:Generator_UserColumnName="USE_ACCOUNT_NME" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="30" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="USE_DT" msprop:Generator_ColumnVarNameInTable="columnUSE_DT" msprop:Generator_ColumnPropNameInRow="USE_DT" msprop:Generator_ColumnPropNameInTable="USE_DTColumn" msprop:Generator_UserColumnName="USE_DT" type="xs:dateTime" minOccurs="0" />
              <xs:element name="CREATE_REMARKS" msprop:Generator_ColumnVarNameInTable="columnCREATE_REMARKS" msprop:Generator_ColumnPropNameInRow="CREATE_REMARKS" msprop:Generator_ColumnPropNameInTable="CREATE_REMARKSColumn" msprop:Generator_UserColumnName="CREATE_REMARKS" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="500" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="INITIAL_DT" msprop:Generator_ColumnVarNameInTable="columnINITIAL_DT" msprop:Generator_ColumnPropNameInRow="INITIAL_DT" msprop:Generator_ColumnPropNameInTable="INITIAL_DTColumn" msprop:Generator_UserColumnName="INITIAL_DT" type="xs:dateTime" minOccurs="0" />
              <xs:element name="INITIAL_USR" msprop:Generator_ColumnVarNameInTable="columnINITIAL_USR" msprop:Generator_ColumnPropNameInRow="INITIAL_USR" msprop:Generator_ColumnPropNameInTable="INITIAL_USRColumn" msprop:Generator_UserColumnName="INITIAL_USR" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="30" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
            </xs:sequence>
          </xs:complexType>
        </xs:element>
      </xs:choice>
    </xs:complexType>
    <xs:unique name="Constraint1" msdata:PrimaryKey="true">
      <xs:selector xpath=".//mstns:SHP_SCORE_CARD" />
      <xs:field xpath="mstns:SCORE_CARD_ID" />
    </xs:unique>
  </xs:element>
</xs:schema>